<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
    <title>{:input('ks')} - {:set('title')}</title>
    <meta name="description" content="{:set('description',1)}">
    <meta name="keywords" content=" {:set('keywords',1)}">
    {include file="header"}
</head>
<body>
<section class="aui-flexView">
	<header class="aui-navBar aui-navBar-fixed animated slideInDown">
		<a href="{:url('index/model/index',array('model'=>input('m')))}" class="aui-navBar-item left">
			<i class="iconfont">&#xe61a;</i>返回
		</a>
		<div class="aui-center">
			<div class="aui-search-box">
			    <form method="get" action="{if $hover==$m}{:url('index/model/soso',array('m'=>$m))}{else/}{:url('index/index/soso')}{/if}">
    				<i class="iconfont">&#xe619;</i>
    				<input type="text" name="ks" value="{:input('ks')}" placeholder="搜你想搜的">
    			</form>
			</div>
		</div>
		{if user('userid')}
		<a href="{:url('index/user/set')}" class="aui-navBar-item">
			<i class="iconfont">&#xe697;</i>
		</a>
		{else/}
		<a href="javascript:;" class="aui-navBar-item yemianf" w="100%" title="注册登录" tblr="b" h="80%" anim="2" url="{:url('index/user/login')}">
			<i class="iconfont">&#xe697;</i>
		</a>
		{/if}
	</header>
	<section class="aui-scrollView pb-20 animated slideInLeft0">
        <div class="aui-flex">
			<div class="aui-flex-box">
				<h1>{:fun_model(input('m'),'title')}:搜索 “{:input('ks')}”</h1>
			</div>
		</div>
		<div class="aui-withe-box">
			<div class="aui-play-list b-line">
			    {volist name=":fun_so(input('m'),array('open'=>1),input('ks'),15)" id="vo" empty="
                <div class='empty' align='center'>
                    <img src='/public/img/empty.png'/>
                    <p>没有更多的记录</p>
                </div>"}
				<a href="{:url('index/model/html',array('model'=>$vo.m,'id'=>$vo.id))}" class="aui-flex">
					<div class="aui-play-img">
						<img src="{$vo.content|pic}" alt="{$vo.title}" onerror="javascript:this.src='/public/img/cover/0.jpg';">
					</div>
					<div class="aui-flex-box">
						<h5>{$vo.title}</h5>
					</div>
					<div class="aui-time">{$vo.times|times}</div>
				</a>
				{/volist}
			</div>
			<div class="aui-all">
				{:fun_so(input('m'),array('open'=>1),input('ks'),15)->render()}
			</div>
		</div>
	</section>
</section>
</body>
</html>
